package com.virgo.mysql.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class BaseDo implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@TableField(value = "created_at", fill = FieldFill.INSERT)
	private Long createdAt;

	@TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
	private Long updatedAt;

}